WcJUpsellator\WooActions A

Total Complexity 72
Dependencies 7
Dependents 1
Total lines 495
Lines of code 285
Logical lines of code 145
Comment lines 118
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
register()
A
39 7 74
changeItemPrice()
A
52 9 23
markAsUpsell()
A
55 9 17
wc_timeline_fragments()
S
50 4 29
showBeforeSingleAddToCart()
S
59 5 13
markOrderProducts()
S
63 5 9
showUpsellatorLabel()
S
53 3 28
calculateNewPrice()
S
59 4 13
editcartPageName()
S
61 4 12
calculateTotalUpsell()
S
61 4 12
wc_timeline_update_qty()
S
61 3 12
editCartPageQuantity()
S
66 3 7
editCartPageItemClasses()
S
66 3 9
preventCouponDiscountForUpsells()
S
78 2 3
wc_timeline_remove_item()
S
68 2 7
__construct()
S
91 1 2
checkoutUpsell()
S
91 1 2
cartPageUpsell()
S
87 1 3
recalculateGifts()
S
69 1 7
checkoutUpsellFragment()
S
82 1 3